{% spaceless %}
<div class="widget">
   <div class="widget-header">
        <span class="title"><i class="icon-list"></i> Ordre du jour</span>
    </div>
    
	<div class="toolbar form-toolbar collapse in" id="toolbar-ex">
	    <form id="em-plugin-order-form" class="search-form">
	    	
	        <input type="text" placeholder="Entrez un texte" class="span9 search-query">
	        <button type="submit" class="btn btn-primary pull-right" style="margin-left:8px;">Ajouter</button>
	    </form>
    </div>
    
    <div class="widget-content task-list">
        <ul id="em-plugin-order-list">
        {% for order in event.orders %}
            <li data-id="{{ order.id }}" data-count="{{ order.position }}" {% if order.state %}class="done"{% endif %}>
                <label class="checkbox"><input type="checkbox" class="uniform" {% if order.state %}checked{% endif %}></label>
                <span class="text">
                    <span class="text-nowrap em-plugin-order-content">{{ order.content }}</span>
                </span>
                <a href="#" class="close">&times;</a>
            </li>
        {% endfor %}
        </ul>
    </div>
</div>
{% endspaceless %}